<div class="np_list_nav" style="border:1px #e1e1e1 solid; background:none">
   	<h1 class="np_list_nav_title tindent">产品分类</h1>
		 <?php $_from = get_categories_tree(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'cat');if (count($_from)):
    foreach ($_from AS $this->_var['cat']):
?>
        <div class="conts   <?php if ($this->_var['current_cat_pr_id'] == $this->_var['cat']['id']): ?>open<?php endif; ?>">
        	<span class="titlehover"><a href="<?php echo $this->_var['cat']['url']; ?>"><h2 ><?php echo htmlspecialchars($this->_var['cat']['name']); ?></h2></a></span>
            <div class="l_c" style="<?php if ($this->_var['current_cat_pr_id'] == $this->_var['cat']['id']): ?>display:block<?php endif; ?>">
  <?php if ($this->_var['current_cat_pr_id'] == $this->_var['cat']['id']): ?>
	 <?php $_from = $this->_var['cat']['cat_id']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'child');if (count($_from)):
    foreach ($_from AS $this->_var['child']):
?>
			            	<em>            	<a href="<?php echo $this->_var['child']['url']; ?>"><?php echo htmlspecialchars($this->_var['child']['name']); ?></a>            	</em>
				                                  <?php $_from = $this->_var['child']['cat_id']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'childer');if (count($_from)):
    foreach ($_from AS $this->_var['childer']):
?>    <p class="l_g">        
                                                    <a href="http://www.pupai.cn/category/221.html" class="font_d db">时尚四袋修身条纹西装</a> </p> <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>     <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
     <?php endif; ?>
</div>
        </div>
			    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> 

        
        
		    </div>
            
            